package cn.signalpha.modules.base.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 数据传输对象实体类
 *
 * @author signalpha
 */
@Data
@ApiModel(value = "NoticeTemplateDTO对象", description = "消息通知模板")
public class NoticeTemplateDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@NotNull
    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "公众号模板消息 -1不存在 0关闭 1开启")
    private Integer isMp;

    @ApiModelProperty(value = "公众号模板消息id")
    private String mpId;

	@ApiModelProperty(value = "公众号模板消息跳转地址")
	private String mpUrl;

    @ApiModelProperty(value = "小程序订阅消息 -1不存在 0关闭 1开启")
    private Integer isMa;

    @ApiModelProperty(value = "小程序订阅消息id")
    private String maId;

	@ApiModelProperty(value = "小程序订阅消息跳转地址")
	private String maUrl;

    @ApiModelProperty(value = "短信消息 -1不存在 0关闭 1开启")
    private Integer isSms;

    @ApiModelProperty(value = "短信消息id")
    private String smsId;

    @ApiModelProperty(value = "站内信消息 -1不存在 0关闭 1开启")
    private Integer isNotice;

}
